package com.project.bean;

import com.project.util.EnumType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 月统计
 * 月统计对象（月份，类别，销售总额）
 */
@Data
@ApiModel(value = "月统计")
public class MonthCountBean {
    @ApiModelProperty(value = "月份")
    private Integer month;//月份

    @ApiModelProperty(value = "类别")
    private EnumType type;//类别

    @ApiModelProperty(value = "销售总额")
    private Integer sellCount;//销售总额

    public MonthCountBean() {
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public EnumType getType() {
        return type;
    }

    public void setType(EnumType type) {
        this.type = type;
    }

    public Integer getSellCount() {
        return sellCount;
    }

    public void setSellCount(Integer sellCount) {
        this.sellCount = sellCount;
    }

    @Override
    public String toString() {
        return "MonthCountBean{" +
                "month=" + month +
                ", type=" + type +
                ", sellCount=" + sellCount +
                '}';
    }
}
